package com.sy.service;

import com.sy.dto.MemberDto;
import com.sy.dto.OrdersDto;
import com.sy.dto.SubjectDto;
import com.sy.entity.AdminUser;
import com.sy.entity.Coach;
import com.sy.entity.Member;
import com.sy.entity.Subject;
import com.sy.vo.AdminVo;
import com.sy.vo.CoachVo;
import com.sy.vo.MemberVo;

import java.util.List;

public interface AdminUserService {
    AdminUser findByLogin(AdminUser AdminUser);
    List<OrdersDto> findAllMemberOrders(Member member);
    boolean saveSubject(Subject subject);
    boolean dropSubject(Subject subject);
    List<Subject> findSubjectByCoachAndTime(AdminVo adminVo);
    boolean saveCoach(Coach coach);
    boolean dropCoach(Coach coach);
    List<Member> getAllMembers(MemberVo memberVo);
    MemberDto getMemberById(Integer id);
    Boolean updateMember(MemberDto memberDto);
    Boolean dropMember(MemberDto memberDto);
    List<Coach> getAllCoachs(CoachVo cocahVo);
    boolean saveMember(Member member);
    List<SubjectDto> findBySubjectName(SubjectDto subject);
    List<OrdersDto> findAllOrdersByMemberName(MemberVo memberVo);
    Boolean dropOrder(OrdersDto OrdersDto);
}
